package com.ruoyi.system.feign;

import com.ruoyi.system.feign.result.FeignDataResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(
        name = "openAiServiceClient",
        url = "${service.openai.url}"
)
public interface OpenAiServiceClient {

    /**
     * 健康检查
     * @return
     */
    @GetMapping("/health")
    FeignDataResult<String> health();





}


